package com.shujia.process;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Arrays;
import java.util.List;

@Data
@AllArgsConstructor
public class Student {
    private String id;
    private String name;
    private int age;
    private String gender;
    private String clazz;
    public Student(String[] strings){
        this.id = strings[0];
        this.name = strings[1];
        this.age = Integer.parseInt(strings[2]);
        this.gender = strings[3];
        this.clazz = strings[4];
    }
}
